﻿<%@ Page Language="C#" AutoEventWireup="true" CodeFile="URL分頁.aspx.cs" Inherits="URL分頁" %>


<html xmlns="http://www.w3.org/1999/xhtml" >
<head runat="server">
    <title>Untitled Page</title>
    <link href="css/main.css" rel="stylesheet" type="text/css">
</head>
<body>
    <form id="form1" runat="server">
    <div>
    <asp:DataGrid id="grid1" runat="server"  AllowPaging="True" ShowHeader="False" PageSize="2" AutoGenerateColumns="False">
                    <Columns>
                    <asp:TemplateColumn>
                      <ItemTemplate>
                        <table width="100" border="0" cellspacing="0" cellpadding="0">
                          <tr>
                            <td style="width: 516px; height: 262px;"><table width="100%"  border="0" cellspacing="0" cellpadding="0">
                                <tr>
                                  <td><img src="images/liuyan_r4_c3.jpg" width="513" height="20"></td>
                                </tr>
                              </table>
                              <table width="100%"  border="0" cellspacing="0" cellpadding="0">
                                <tr>
                                  <td width="513" height="23" background="images/liuyan_r5_c3.jpg">&nbsp;</td>
                                </tr>
                              </table>
                              <table width="100%"  border="0" cellspacing="0" cellpadding="0">
                                <tr>
                                  <td width="132" height="125" align="center" background="images/liuyan_r6_c3.jpg">
                                      &nbsp;<img src='<%# DataBinder.Eval(Container, "DataItem.icon") %>' width="100" height="100" class="font-1"></td>
                                  <td width="381" height="125" background="images/liuyan_r6_c5.jpg"><div align="left">
                                    <asp:Label ID=Label3 runat="server" Text='<%# DataBinder.Eval(Container, "DataItem.cont") %>'> </asp:Label>
                                  </div>
                                  <div align="left"></div></td>
                                </tr>
                              </table>
                              <table width="100%"  border="0" cellspacing="0" cellpadding="0">
                                <tr>
                                  <td height="27" background="images/liuyan_r7_c3.jpg"><table width="100%"  border="0" cellspacing="0" cellpadding="0">
                                      <tr>
                                        <td width="33%" align="center"><img src="images/3.jpg" width="15" height="16"></td>
                                        <td width="67%"><a href='mailto:<%# DataBinder.Eval(Container, "DataItem.email") %>'>
                                            <asp:Label ID="Label4" runat="server" Text="写信给我"></asp:Label></a></td>
                                      </tr>
                                    </table></td>
                                  <td width="381" height="27" background="images/liuyan_r7_c5.jpg"><div align="left">〖版主回复〗 
                                      <asp:Label ID=Label5 runat="server" Text='<%# DataBinder.Eval(Container, "DataItem.replay") %>'> </asp:Label>
                                  </div>                                    </td>
                                </tr>
                              </table>
                              <table width="100%"  border="0" cellspacing="0" cellpadding="0">
                                <tr>
                                  <td width="132" height="28" background="images/liuyan_r8_c3.jpg"><table width="100%"  border="0" cellspacing="0" cellpadding="0">
                                      <tr>
                                        <td width="32%" align="center"><img src="images/4.jpg" width="16" height="16"></td>
                                        <td width="68%"><asp:Label id=Label2 runat="server" Text='<%# DataBinder.Eval(Container, "DataItem.QQ") %>'> </asp:Label></td>
                                      </tr>
                                    </table></td>
                                  <td width="381" height="28" background="images/liuyan_r8_c5.jpg"><table width="100%"  border="0" cellspacing="0" cellpadding="0">
                                      <tr>
                                        <td width="8%" align="center" style="height: 16px"><img src="images/5.jpg" width="13" height="15"></td>
                                        <td width="25%" style="height: 16px"><asp:Label id=Label1 runat="server" Text='<%# DataBinder.Eval(Container, "DataItem.IP") %>'> </asp:Label></td>
                                        <td width="23%" align="center" style="height: 16px">[编辑留言]</td>
                                        <td width="21%" align="center" style="height: 16px">[<a href='Edit_guan.aspx?id=<%# DataBinder.Eval(Container, "DataItem.id") %>'>回复留言</a>]</td>
                                        <td width="23%" align="center" style="height: 16px">[删除留言]</td>
                                      </tr>
                                    </table></td>
                                </tr>
                              </table>
                              <table width="100%"  border="0" cellspacing="0" cellpadding="0">
                                <tr>
                                  <td width="513" height="20" background="images/liuyan_r9_c3.jpg"></td>
                                </tr>
                              </table></td>
                          </tr>
                        </table>
                      </ItemTemplate>
                    </asp:TemplateColumn>
                    </Columns>
                    <PagerStyle Mode="NumericPages" PageButtonCount="2" Visible="False"  />
                  </asp:DataGrid>
        <div align="center" style="width: 513px; height: 9px" runat="server" id="Div">
         
            首頁 上一頁 下一頁 尾頁
            
            <asp:Label ID="xxt" runat="server" Text="Label"></asp:Label>
            </div>
                  
    </div>
    </form>
</body>
</html>
